#!/bin/ksh
PRE_APACHE_TARGETS="clean \
                    common \
                    appservice.compile \
                    commservice.compile \
										commentservice.compile\
                    documentdataservice.compile\
                    userservice.compile"

POST_APACHE_TARGETS="commservice.deploy \
                     documentdataservice.deploy\
                     userservice.deploy \
                     appservice.deploy"

{
./webserver/apa*/bin/shutdown.sh
rm ./lmteam/common/*.class
ant ${PRE_APACHE_TARGETS}
./webserver/apa*/bin/startup.sh
ant ${POST_APACHE_TARGETS}
} 2>&1 | tee build.out
